﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibNiconico.NiconicoApi.Internal;
using System.IO;
using System.Xml.Linq;
using System.Net;

namespace LibNiconico.NiconicoApi.Lives.WatchPage
{
    /// <summary>
    /// ニコニコ生放送
    /// </summary>
    public sealed class NicoLiveWatchPageResponse
    {
        /// <summary>
        /// ニコニコ生放送視聴履歴
        /// </summary>
        public NicoLiveHistory History { get; internal set; }

        private NicoLiveWatchPageResponse(CookieContainer cookieContainer)
        {
            History = NicoLiveHistory.Parse(cookieContainer);
        }

        internal static NicoLiveWatchPageResponse Parse(CookieContainer cookieContainer)
        {
            return new NicoLiveWatchPageResponse(cookieContainer);
        }
    }
}
